package com.itheima.service;

import com.itheima.pojo.Menu;

import java.util.List;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;

public interface MenuService {
    List<Menu> findMenuList(String username);

    // 查询所有
     public List<Menu> findAll();
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void add(Menu menu);
    public Menu findById(Integer id);
    public void update(Menu menu);
    public void delete(Integer id);


    List<Menu> findChildren(Integer id);
}
